﻿using MediatR;
using MyMES.Domain.W.Liststructure;
using MyMES.Error;

namespace MyMES.Writer.API.Application.Commends.W.realize
{
    public class UpdateSalesReceiptCommands:IRequest<APIResult<SalesReceipt>>
    {
        public int SalesReceiptId { get; set; }

        /// <summary>
        /// 出库单编号
        /// </summary>
        public string OutboundOrderCode { get; set; }

        /// <summary>
        /// 出库单名称
        /// </summary>
        public string OutboundOrderName { get; set; }

        /// <summary>
        /// 销售订单编号
        /// </summary>
        public string SalesOrderNumber { get; set; }

        /// <summary>
        /// 客户编码
        /// </summary>
        public string CustomerCode { get; set; }

        /// <summary>
        /// 出库日期
        /// </summary>
        public DateTime OutboundDate { get; set; }=DateTime.Now;

        /// <summary>
        /// 单据状态
        /// </summary>
        public int DocumentStatus { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
        public string CustomerName { get; set; }

        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDelete { get; set; }
    }
}
